<template>
    <form class="layui-form">

        <div lay-part="alioss_file_uploader" data-ext="doc|docx" data-name="literatureDocUrl"
             data-value="{{d.assign.configs.literature_doc_url||''}}"
             data-title="文献综述<br>文档"></div>
        <div lay-part="alioss_file_uploader" data-ext="doc|docx" data-name="taskDocUrl"
             data-value="{{d.assign.configs.task_doc_url||''}}"
             data-title="任务书<br>文档"></div>
        <div lay-part="alioss_file_uploader" data-ext="doc|docx" data-name="foreignLangDocUrl"
             data-value="{{d.assign.configs.foreign_lang_doc_url||''}}"
             data-title="外文翻译<br>文档"></div>
        <div lay-part="alioss_file_uploader" data-ext="doc|docx" data-name="openReportDocUrl"
             data-value="{{d.assign.configs.open_report_doc_url||''}}"
             data-title="开题报告<br>文档"></div>
        <div lay-part="alioss_file_uploader" data-ext="doc|docx" data-name="stageTaskDocUrl"
             data-value="{{d.assign.configs.stage_task_doc_url||''}}"
             data-title="阶段任务<br>文档"></div>
        <div lay-part="alioss_file_uploader" data-ext="doc|docx" data-name="paperDocUrl"
             data-value="{{d.assign.configs.paper_doc_url||''}}"
             data-title="论文<br>文档"></div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="hidden" name="id" class="field-id"/>
                <button type="button" lay-submit
                        data-url="/system/config/form"
                        lay-filter="submit"
                        class="layui-btn layui-btn-normal">保存
                </button>
            </div>
        </div>
    </form>
</template>


<script>
    layui.use(['app', 'md5', 'func'], function () {
        const {app, md5, func} = layui;
        app({
            config: {
                assign: "/system/config/form"
            },
            afterRender: function () {},
            methods: {}
        })
    });
</script>

